package com.gxa.day2022_07_29_21.homework.order_system_4.model;



public class Dish {

    private int id;
    private String dishName;
    private double dishPrice;
    private int praiseNum;

    @Override
    public String toString() {
        return this.id +"\t" + this.dishName + "\t" + this.dishPrice +"\t" + this.praiseNum;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public double getDishPrice() {
        return dishPrice;
    }

    public void setDishPrice(double dishPrice) {
        this.dishPrice = dishPrice;
    }

    public int getPraiseNum() {
        return praiseNum;
    }

    public void setPraiseNum(int praiseNum) {
        this.praiseNum = praiseNum;
    }

    public Dish(int id, String dishName, double dishPrice, int praiseNum){
        this.id=id;
        this.dishName= dishName;
        this.dishPrice = dishPrice;
        this.praiseNum = praiseNum;
    }
    public Dish(){

    }

}
